HEADERS = main.h signal_handler.h profile.h
OBJECTS = main.o signal_handler.o utilities.o profile.o

default: customShell

%.o: %.c $(HEADERS)
	gcc -c POSIX_SIGNAL_INTERFACE $< -o $@

customShell: $(OBJECTS)
	gcc $(OBJECTS) -o $@

clean:
	-rm -f $(OBJECTS)
	-rm -f main
